# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=vim-editorconfig
pkgver=0.8.0
pkgrel=0
pkgdesc="EditorConfig plugin for vim written in vimscript only"
url="https://github.com/sgur/vim-editorconfig"
arch="noarch"
license="MIT"
source="$pkgname-$pkgver.tar.gz::https://github.com/sgur/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"  # there are no tests

package() {
	local destdir="$pkgdir/usr/share/vim/vimfiles"
	cd "$builddir"

	mkdir -p "$destdir"
	cp -r autoload doc ftdetect ftplugin plugin "$destdir"/
}

sha512sums="c51cd12d1ffe249b9f3e5199140fe38f7e4dc33f8dca86c4dc3637956b0632dfb8040359ad379205a93312a9d3810b7b9dcfbaab56f05db8e247bd00f9dc44a9  vim-editorconfig-0.8.0.tar.gz"
